package com.pap.msg.feedback.mapper;

import com.pap.base.mapper.PapBaseMapper;
import com.pap.msg.feedback.entity.Feedback;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;;

public interface FeedbackMapper extends PapBaseMapper<Feedback> {
    int deleteByPrimaryKey(String feedbackId);

    int selectCountByMap(Map<Object, Object> map);

    List<Feedback> selectListByMap(Map<Object, Object> map);

    Feedback selectByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

    int deleteByPrimaryKeyAndTableName(@Param("id") String id, @Param("dynamicTableName") String dynamicTableName);

    int insert(Feedback record);

    int insertSelective(Feedback record);

    Feedback selectByPrimaryKey(String feedbackId);

    int updateByPrimaryKeySelective(Feedback record);

    int updateByPrimaryKey(Feedback record);
}